export function handleInput(event, page) {
  const inputValue = event.detail.value;
  page.setData({
    inputValue: inputValue,
    sendIcon: inputValue.trim() ? false : true,
  });
}

export function handleFocus(page) {
  page.setData({
    isFocused: true,
  });
}

export function handleBlur(page) {
  page.setData({
    isFocused: false,
  });
}
